﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using Microsoft.JCI.Common.Utility;

namespace Microsoft.JCI.Common.Entity
{
    [TableName("Jci_Dis_WorkingVendorFileItem")]
    [Serializable]
    public partial class DisWorkingVendorFileItemEntity : EntityBase
    {
        #region 构造函数
		///<summary>
		///
		///</summary>
		public DisWorkingVendorFileItemEntity()
			: this(Guid.NewGuid())
		{
		}

        public DisWorkingVendorFileItemEntity(Guid ID)
		{
            this.ID = ID;
		}

		 
		#endregion
		
		#region 字段

        private Guid _ID;

        ///<summary>
        ///
        ///</summary>	
        private Guid _WorkingVendorOrderId;

        ///<summary>
        ///
        ///</summary>	
        private string  _FilePath;

        private DateTime _CreateTime;

        private bool _Deleted;

        private string _FileName;

        private string _FileOriginalName;

        private string _CustomerName;

        public string CustomerName
        {
            get { return _CustomerName; }
            set { _CustomerName = value; }
        }

        private string _Phone;

        public string Phone
        {
            get { return _Phone; }
            set { _Phone = value; }
        }

        private string _CustomerType;

        public string CustomerType
        {
            get { return _CustomerType; }
            set { _CustomerType = value; }
        }

        private string _Address;

        public string Address
        {
            get { return _Address; }
            set { _Address = value; }
        }

        private string _SalesUnit;

        public string SalesUnit
        {
            get { return _SalesUnit; }
            set { _SalesUnit = value; }
        }

        private string _TicketNo;

        public string TicketNo
        {
            get { return _TicketNo; }
            set { _TicketNo = value; }
        }

        private string _TicketDate;

        public string TicketDate
        {
            get { return _TicketDate; }
            set { _TicketDate = value; }
        }

        private string _BPNo;

        public string BPNo
        {
            get { return _BPNo; }
            set { _BPNo = value; }
        }

        private string _InMType;

        public string InMType
        {
            get { return _InMType; }
            set { _InMType = value; }
        }

        private string _InMNO;

        public string InMNO
        {
            get { return _InMNO; }
            set { _InMNO = value; }
        }

        private string _OutMType;

        public string OutMType
        {
            get { return _OutMType; }
            set { _OutMType = value; }
        }

        private string _OutMNO;

        public string OutMNO
        {
            get { return _OutMNO; }
            set { _OutMNO = value; }
        }

        private string _UnitName;

        public string UnitName
        {
            get { return _UnitName; }
            set { _UnitName = value; }
        }

        private string _VenderName;

        public string VenderName
        {
            get { return _VenderName; }
            set { _VenderName = value; }
        }

        private string _DebugDate;

        public string DebugDate
        {
            get { return _DebugDate; }
            set { _DebugDate = value; }
        }

        #endregion

        #region 公共属性


        ///<summary>
        ///
        ///</summary>
        [PrimaryKey]
        public Guid ID
        {
            get { return _ID; }
            set { _ID = value; }
        }

        public Guid WorkingVendorOrderId
        {
            get { return _WorkingVendorOrderId; }
            set { _WorkingVendorOrderId = value; }
        }

        public string FilePath
        {
            get { return _FilePath; }
            set { _FilePath = value; }
        }

        public DateTime CreateTime
        {
            get { return _CreateTime; }
            set { _CreateTime = value; }
        }

        public Boolean Deleted
        {
            get { return _Deleted; }
            set { _Deleted = value; }
        }
        public string FileName
        {
            get { return _FileName; }
            set { _FileName = value; }
        }
        public string FileOriginalName
        {
            get { return _FileOriginalName; }
            set { _FileOriginalName = value; }
        }
        #endregion
    }
}
